package com.demons.demonsojcodesandbox.controller.security;

import cn.hutool.core.io.FileUtil;

import java.nio.charset.StandardCharsets;
import java.util.List;

public class TestSecurityManger {

    public static void main(String[] args) {

        System.setSecurityManager(new MySecurityManger());

        List<String> strings = FileUtil.readLines("E:\\JavaProject\\demonsoj-code-sandbox\\src\\main\\resources\\application.yml", StandardCharsets.UTF_8);
//        FileUtil.writeString("aa","aaaa",StandardCharsets.UTF_8);
       System.out.println(strings);
    }
}
